<?php

class CommonController extends Controller {
    public function init() {
        if(!C('app_status',null,true)){
            $this->error(C('app_closemsg',null,'网站升级中，请稍后访问！'),0,0);
        }
    }
}